<!--首页-->
<template>
    <div class="m-homePage flex-column">
        <app-header @closeAll="toFirstPage"></app-header>
        <div class="m-scroll">
            <router-view></router-view>
        </div>
        <app-footer></app-footer>
    </div>
</template>

<script>
    import AppHeader from "@/components/header.vue";
    import AppFooter from "@/components/footer.vue";
    export default {
        name: 'home',
        components: {AppHeader,AppFooter},
        data() {
            return {
            };
        },
        methods: {
            toFirstPage(){
                this.$emit("closeAll")
            },
        },
        created() {
            localStorage.setItem("kfzxShowBackBtn",false);
        }
    };
</script>

<style lang="scss" type="text/scss" scoped>
@import "./../scss/variables";
    .m-homePage {
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        &::-webkit-scrollbar {
            display: none;
        }
    }
</style>

